package com.eidos.blogs.openapi.vo.secKill.redenvelope;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ： Eidos
 * @date ：Created in 2020/12/28
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RedEnvelopeVo {

    @ApiModelProperty(value = "红包ID", required = true)
    private Long redEnvelopeId;

    @ApiModelProperty(value = "红包ID", required = true)
    private Long userId;

    @ApiModelProperty(value = "红包金额，单位为分", required = true)
    private Long money=0L;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "剩余人数", required = true)
    private Integer restNum=0;

}
